All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.Task

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.Task

public class Task
extends NativeObject
This class wraps the Objective-C class NSTask.


Constructor Index

 o Task()
This default constructor is equivalent to Objective-C's [[NSTask alloc] init].
 o Task(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.

Method Index

 o arguments()
A wrapper for the - arguments Objective-C instance method.
 o currentDirectoryPath()
A wrapper for the - currentDirectoryPath Objective-C instance method.
 o environment()
A wrapper for the - environment Objective-C instance method.
 o interrupt()
A wrapper for the - interrupt Objective-C instance method.
 o isRunning()
A wrapper for the - isRunning Objective-C instance method.
 o launch()
A wrapper for the - launch Objective-C instance method.
 o launchedTaskWithLaunchPath(String, Array)
A wrapper for the + launchedTaskWithLaunchPath:arguments: Objective-C class method.
 o launchPath()
A wrapper for the - launchPath Objective-C instance method.
 o setArguments(Array)
A wrapper for the - setArguments: Objective-C instance method.
 o setCurrentDirectoryPath(String)
A wrapper for the - setCurrentDirectoryPath: Objective-C instance method.
 o setEnvironment(Dictionary)
A wrapper for the - setEnvironment: Objective-C instance method.
 o setLaunchPath(String)
A wrapper for the - setLaunchPath: Objective-C instance method.
 o setStandardError(Object)
A wrapper for the - setStandardError: Objective-C instance method.
 o setStandardInput(Object)
A wrapper for the - setStandardInput: Objective-C instance method.
 o setStandardOutput(Object)
A wrapper for the - setStandardOutput: Objective-C instance method.
 o standardError()
A wrapper for the - standardError Objective-C instance method.
 o standardInput()
A wrapper for the - standardInput Objective-C instance method.
 o standardOutput()
A wrapper for the - standardOutput Objective-C instance method.
 o terminate()
A wrapper for the - terminate Objective-C instance method.
 o terminationStatus()
A wrapper for the - terminationStatus Objective-C instance method.
 o waitUntilExit()
A wrapper for the - waitUntilExit Objective-C instance method.

Constructors

 o Task
 protected Task(boolean shouldAllocate,
                int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Task
 public Task()
This default constructor is equivalent to Objective-C's [[NSTask alloc] init].

Methods

 o setLaunchPath
 public native void setLaunchPath(String path)
A wrapper for the - setLaunchPath: Objective-C instance method.

 o setArguments
 public native void setArguments(Array arguments)
A wrapper for the - setArguments: Objective-C instance method.

 o setEnvironment
 public native void setEnvironment(Dictionary dict)
A wrapper for the - setEnvironment: Objective-C instance method.

 o setCurrentDirectoryPath
 public native void setCurrentDirectoryPath(String path)
A wrapper for the - setCurrentDirectoryPath: Objective-C instance method.

 o setStandardInput
 public native void setStandardInput(Object input)
A wrapper for the - setStandardInput: Objective-C instance method.

 o setStandardOutput
 public native void setStandardOutput(Object output)
A wrapper for the - setStandardOutput: Objective-C instance method.

 o setStandardError
 public native void setStandardError(Object error)
A wrapper for the - setStandardError: Objective-C instance method.

 o launchPath
 public native String launchPath()
A wrapper for the - launchPath Objective-C instance method.

 o arguments
 public native Array arguments()
A wrapper for the - arguments Objective-C instance method.

 o environment
 public native Dictionary environment()
A wrapper for the - environment Objective-C instance method.

 o currentDirectoryPath
 public native String currentDirectoryPath()
A wrapper for the - currentDirectoryPath Objective-C instance method.

 o standardInput
 public native Object standardInput()
A wrapper for the - standardInput Objective-C instance method.

 o standardOutput
 public native Object standardOutput()
A wrapper for the - standardOutput Objective-C instance method.

 o standardError
 public native Object standardError()
A wrapper for the - standardError Objective-C instance method.

 o launch
 public native void launch()
A wrapper for the - launch Objective-C instance method.

 o interrupt
 public native void interrupt()
A wrapper for the - interrupt Objective-C instance method.

 o terminate
 public native void terminate()
A wrapper for the - terminate Objective-C instance method.

 o isRunning
 public native boolean isRunning()
A wrapper for the - isRunning Objective-C instance method.

 o terminationStatus
 public native int terminationStatus()
A wrapper for the - terminationStatus Objective-C instance method.

 o launchedTaskWithLaunchPath
 public static native Task launchedTaskWithLaunchPath(String path,
                                                      Array arguments)
A wrapper for the + launchedTaskWithLaunchPath:arguments: Objective-C class method.

 o waitUntilExit
 public native void waitUntilExit()
A wrapper for the - waitUntilExit Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index